package cn.buk.api.szkj.dto.eterm.response;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * FF返回结果
 */
public class FfResponse extends BaseResponse {

  @JsonProperty(value = "data")
  private List<FfFlightInfo> flights;


  public List<FfFlightInfo> getFlights() {
    if (flights == null) {
      flights = new ArrayList<>();
    }
    return flights;
  }

  public void setFlights(List<FfFlightInfo> flights) {
    this.flights = flights;
  }
}
